package tsvetanv.inventory.dao;

import java.util.List;

import tsvetanv.inventory.model.Article;

/**
 * The <code>ArticleDao</code> interface declares the supported actions with
 * database related with {@link Article} model class.
 * 
 * @author Tsvetan Vasilev
 * 
 */
public interface ArticleDao {
	void save(Article article);

	void update(Article article);

	void delete(Article article);

	Article findByArticleId(int articleId);

	Article findByProductName(String productName);

	List<Article> getAllArticles();
}
